package com.ivideo.backend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ivideo.backend.model.system.SysMenu;
import com.ivideo.backend.model.vo.AssginMenuVo;

import java.util.List;

/**
 * @Project: ivideo-parent
 * @Name: SysMenuService
 * @Author: Jack_Li
 * @Date: 2024/5/21 14:57
 */

public interface SysMenuService extends IService<SysMenu> {

    // 加载菜单列表
    List<SysMenu> findNodes();

    void removeMenuById(Long id);

    List<SysMenu> findSysMenuByRoleId(Long roleId);

    void doAssign(AssginMenuVo assginMenuVo);
}
